package com.wtwd.campus.jdzc.service;

import com.wtwd.campus.jdzc.entity.DeviceInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author mjy
 * @date 2022/02/15
 * @description
 */
public interface JdzcDeviceInfoService {
    DeviceInfo getDeviceInfoByImei(String imei);

    int updateDeviceInfo(DeviceInfo deviceInfo);

    List<DeviceInfo> getDeviceInfoListByStuIdList(@Param("list") List<Integer> list);

    DeviceInfo getDeviceInfoByStuId(Integer studentId);

    int unBindingStudentWithDevice(Integer studentId);

    List<Map<String, Object>> getStudentPlaceByStudentId(List<Integer> stuIdList);

    DeviceInfo getDeviceInfoByDeviceId(Integer deviceId);

    Map<String, Object> getModeStatusByDeviceId(Integer deviceId, String imei);
}
